//
//  MyConsoleViewController.m
//  嘀嘀拍
//
//  Created by 陈一航 on 16/3/3.
//  Copyright (c) 2016年 wangjia_01. All rights reserved.
//

#import "MyConsoleViewController.h"
#import "ZBarSDK.h"
#import "ScanViewController.h"

@interface MyConsoleViewController ()<ScanViewControllerDelegate>
@property (weak, nonatomic) IBOutlet UILabel *consoleNum;

@end

@implementation MyConsoleViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
}

- (void)getTwoDCode:(NSString *)result
{

    _consoleNum.text=result;
    
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/


- (IBAction)goToScanView:(id)sender {
    ScanViewController *scanView=[ScanViewController new];
    scanView.delegate=self;
    [self.navigationController pushViewController:scanView animated:YES];
    
}

@end
